package com.clas.liu.myapplication.model.event;

import com.clas.liu.myapplication.model.entity.banner.BannerRoot;
import com.clas.liu.myapplication.model.entity.homeHeads.HomeHeadsRoot;

/**
 * Created by liu on 2019/2/28.
 */

public class HomeFragmentEvent extends BaseEvent {
    public static final int GET_BANNER_OK = 500;     //获取banner的返回码
    public static final int GET_BANNER_FAIL = -500;  //获取banner失败的错误码

    public static final int GET_HEADS_OK = 600;     //获取banner的返回码
    public static final int GET_HEADS_FAIL = -600;  //获取banner失败的错误码
    public static final int GET_NOTICE_COUNT_OK = 1900;     //获取公告数的返回码
    public static final int GET_NOTICE_COUNT_FAIL = -1900;  //获取公告数失败的错误码
    private BannerRoot bannerRoot;
    private HomeHeadsRoot headsRoot;
    private int noticeCount;

    public int getNoticeCount() {
        return noticeCount;
    }

    public void setNoticeCount(int noticeCount) {
        this.noticeCount = noticeCount;
    }

    public HomeHeadsRoot getHeadsRoot() {
        return headsRoot;
    }

    public void setHeadsRoot(HomeHeadsRoot headsRoot) {
        this.headsRoot = headsRoot;
    }

    public BannerRoot getBannerRoot() {
        return bannerRoot;
    }

    public void setBannerRoot(BannerRoot bannerRoot) {
        this.bannerRoot = bannerRoot;
    }
}
